package com.example.wlzz.dto.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserDTO {
    private int user_id;
    private String phone;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date create_time;
    private String nick_name;
    private String real_name;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date birth;
    private String school_name;
    private Long task_number;
    private int role_id;
    private String role_name;
}
